package com.caih.contacts.entity;

import lombok.Data;
import javax.persistence.*;

@Data
@Entity
@Table(name ="department_info")
public class Department {

    @Id
    private Integer id;
    @Column(name = "parent_id")
    private Integer parent_id;
    @Column(name = "name")
    private  String name;
    @Column(name = "orders")
    private Integer orders;

}
